package com.swxy.club.dto.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 易
 */

@Data
@ApiModel(description = "签到请求体")
public class CheckinBo {

    @ApiModelProperty(value = "活动id", required = true)
    private Integer activityId;

    @ApiModelProperty(value = "签到码", required = true)
    @NotNull(message = "签到码不能为空")
    private String code;
}
